﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MYQQX.SP
{
    public class Jy_xj : ISp
    {        
        public override string Name => "缙云·卸甲";

        public override string Desc => @"技能效果一：以玉为戈的分数增加30分
技能效果二：随机翻开对手手牌一张";

        public override int GetExtraScore(CardGroup group)
        {
            if (group.Group.Any(t => t.Name == "以玉为戈"))
                return 30;

            return base.GetExtraScore(group);
        }

        public override void Got(CardGroup MyGroup, CardGroup OtGroup)
        {
            OpenCard(OtGroup, 1);
        }
    }
}
